<!--{@page layout="frame"}-->
<!--{content head}--></center>
<link rel="stylesheet" href="<?php echo MONK::include_css('user/invite',$webSite.'/Frame/source/styles/user/invite.css',false,true); ?>">
<!--{/content}-->
<!--{content content}-->
<div class="page sheet sheet-active sheet-root" id="page-invite" data-page-name="邀请成员" data-url="/invite/" data-since="2013-03-14 08:42:02 UTC">
    <div class="page-inner">
        <h3>邀请成员</h3>

        <form class="form form-invite" action="/invite/" method="post" data-remote="true" novalidate="">
            <div class="form-item">
                <label class="form-label" id="label-email">输入他们的邮箱</label>
                <div class="form-field">
                    <div class="invite-item">
                        <input type="email" class="invite-email" placeholder="例如：ming@tower.im">
                    </div>
                </div>
                <p class="add-invite-wrap"><a href="javascript:;" id="add-invite-item">+ 再加一个</a></p>
            </div>

            <div class="form-item proj-in">
                <label class="form-label">选择他们能够参与的项目<span class="select-all">[ <a href="#" class="select-all-proj">全选</a> | <a class="select-none-proj" href="#">全不选</a> ]</span></label>
                <div class="form-field">
                        <label title="熟悉Tower"><input type="checkbox" name="init-projects[]" value="06153e5a411c416c8981e3879466f087" checked=""> 熟悉Tower</label>
                        <label title="11111"><input type="checkbox" name="init-projects[]" value="7f19cd0e6d2446f2a8eaea9520abc941" checked=""> 11111</label>
                        <label title="2222222"><input type="checkbox" name="init-projects[]" value="04b533fa047849fbb8a3415e4c8d0bcb" checked=""> 2222222</label>
                </div>
            </div>

            <div class="invite-message-wrap">
                <a href="javascript:;" class="link-invite-message">添加附言 ↓</a>
                <div class="form-item hide">
                    <label class="form-label" for="txt-welcome">我还想对他们说</label>
                    <div class="form-field">
                        <textarea name="welcome_words" id="txt-welcome"></textarea>
                    </div>
                </div>
            </div>

            <div class="form-buttons">
                <button type="submit" class="btn btn-primary" id="btn-invite" data-disable-with="正在邀请..." data-success-text="邀请成功" data-goto="/members/">发送邀请</button>
                <a class="btn btn-x" href="/members/" data-stack="" data-stack-bare="" data-stack-root="">取消，并返回团队页面</a>
            </div>
        </form>
    </div>
</div>
<!--{/content}-->